/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Server;

/**
 *
 * @author spok
 */
import java.util.*;

public class Resource {

    public String name;
    HashMap <String, String> properties;
    
    public Resource(String n)
    {
        name = n;
     properties = new HashMap<String, String>();
    }

       public  Resource()
    {
 
     properties = new HashMap<String, String>();
    }
       
       public String toString()
       {
           String res = new String();
          for ( String key : properties.keySet() )
             {
             String value = properties.get( key );
              res += key+"="+value+"\n";
            }

         return res;
                   
       }
}
